package com.xiandou.server.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author: wu.peng
 * @Date: 2020/1/3 6:59 PM
 */
@Component
public class TestJavaConfigBean {

    @Value("${name}")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
